{% set tag_query = stag|escape %}
    {% if page_title %}
            <h1 class="section-title">{{ page_title }}</h1>
    {% else %}
        {% if stag %}
            <h1 class="section-title">{% trans %}Tags, matching "{{ tag_query }}"{% endtrans %}</h1>
        {% else %}
            <h1 class="section-title">{% trans %}Tags{% endtrans %}</h1>
    {% endif %}
{% endif %}